[Python] OR in regular expression?
        Posted  
        
            by www.yegorov-p.ru
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by www.yegorov-p.ru
        
        
        
        Published on 2010-04-23T10:34:33Z
        Indexed on 
            2010/04/23
            10:53 UTC
        
        
        Read the original article
        Hit count: 291
        
Hello.
I have text file with several thousands lines. I want to parse this file into database and decided to write a regexp. Here's part of file:
blablabla checked=12 unchecked=1
blablabla unchecked=13
blablabla checked=14
As a result, I would like to get something like
(12,1)
(0,13)
(14,0)
Is it possible?
© Stack Overflow or respective owner